Nuprl Definition : zip 11,40

zip(asbs)
== rec-case(as) of [] => [] | a::as' => .rec-case(bs) of [] => [] | b::bs' => .cons(<ab>;
== rec-case(as) of [] => [] | a::as' => .rec-case(bs) of [] => [] | b::bs' => .cons(zip(as'bs'))
(recursive) 
latex


DefinitionsY, x.A(x), rec-case(a) of [] => s | x::y => z.t(x;y;z), [], cons(carcdr), <ab>, f(a)
FDL editor aliaseszip

origin